package hu.diploma.web.client;

import hu.diploma.web.client.pages.OpenForm;
import hu.diploma.web.client.panels.CenterPanel;
import hu.diploma.web.client.panels.DevicesPanel;
import hu.diploma.web.client.panels.Header;
import hu.diploma.web.client.panels.Menu;

import com.google.gwt.user.client.ui.Widget;

public class WidgetFactory {
	public static Menu getMenu() {
		return Menu.getWidget();
	}

	public static Widget getFooter() {
		return DevicesPanel.getWidget();
	}

	public static Widget getOpenr() {
		return OpenForm.getWidget();
	}

	public static Header getHeader() {
		return Header.getWidget();
	}

	public static CenterPanel getCenterPanel() {
		return CenterPanel.getWidget();
	}
}
